package user;

import book.BookList;
import ioperations.IOPeration;

public abstract class User {
    public String name;

    public User(String name){
        this.name=name;
    }

    public IOPeration[] ioPerations;

    public abstract int menu();

    public  void doIoperation(int choice, BookList booklist){
        ioPerations[choice].work(booklist);
    }
}
